package edu.msg.hrappy.backend.repository;

import java.util.List;

import javax.ejb.Local;

import edu.msg.hrappy.backend.model.AbstractModel;

@Local
public interface BaseRepository<T extends AbstractModel, I> {
	
	public void insert(T obj);
	public void update(T obj);
	public void delete(T obj);
	public List<T> getAll();
	public T getById(I id);
	


}
